import ReactDOM from 'react-dom/client'
import { HashRouter } from 'react-router-dom'
import App from './App.tsx'
import { AliveScope } from 'react-activation'
import './styles/index.less'

ReactDOM.createRoot(document.getElementById('root')!).render(
  <HashRouter
    future={{
      v7_startTransition: true,
      v7_relativeSplatPath: true,
    }}
  >
    <AliveScope>
      <App />
    </AliveScope>
  </HashRouter>
)
